package com.simple.question;

import java.io.Serializable;


public class KPointQuestion implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/** 这是一个主知识点 */
	public static final int master_y = 1;
	
	/** 这不是一个主知识点 */
	public static final int master_n = 0;
	
	/** 知识点试题的关系类别 1：知识点下关联试题(主动)*/
	public static final int RELATION_TYPE_KPOINT = 1;
	
	/** 知识点试题的关系类别 2：试题关联知识点(被动)*/
	public static final int RELATION_TYPE_QUESTION = 2;
	
	/** 知识点压轴题试题的关系类别 3：压轴题试题关联知识点(被动)*/
	public static final int RELATION_TYPE_LASTQUESTION = 3;
	
	/** ID  */
	private long id;
	
	/** 序号 */
	private int no;
	
	/** 知识点ID  */
	private long kPointId;
	
	/** 分类结构节点ID  */
	private long strucId;
	
	/** 试题ID  */
	private long questionId;
	
	private int master;
	
	private Question question;
	
	private KnowledgePoint kpoint;
	
	/** 2014-06-04 子试题的序号,简化试题的排序sql */
	private int childQNo;
	
	/** 试题关联知识点的类别 1:知识点自身的题[];2:(同步、试卷、及其它 )的题关联到知识点*/
	private int relationType;
	
	/** 临时变量 : 知识点名称 */
	private String kPointName;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getkPointId() {
		return kPointId;
	}

	public void setkPointId(long kPointId) {
		this.kPointId = kPointId;
	}

	//别删除  JSON格式需要
	public long getKPointId() {
		return kPointId;
	}
	
	public long getQuestionId() {
		return questionId;
	}

	public void setQuestionId(long questionId) {
		this.questionId = questionId;
	}

	public long getStrucId() {
		return strucId;
	}

	public void setStrucId(long strucId) {
		this.strucId = strucId;
	}

	public Question getQuestion() {
		return question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}

	public int getMaster() {
		return master;
	}

	public void setMaster(int master) {
		this.master = master;
	}

	public String getkPointName() {
		return kPointName;
	}
	
	// 请不要删除这个方法
	public String getKPointName() {
		return kPointName;
	}

	public void setkPointName(String kPointName) {
		this.kPointName = kPointName;
	}
	
	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public int getChildQNo() {
		return childQNo;
	}

	public void setChildQNo(int childQNo) {
		this.childQNo = childQNo;
	}

	public int getRelationType() {
		return relationType;
	}

	public void setRelationType(int relationType) {
		this.relationType = relationType;
	}

	public KnowledgePoint getKpoint() {
		return kpoint;
	}

	public void setKpoint(KnowledgePoint kpoint) {
		this.kpoint = kpoint;
	}
	
	
}
